package com.jvyou.app.ds.domain.entity;


import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;

/**
 * 题目选项表(QuestionOption)表实体类
 *
 * @author 橘柚
 * @since 2025-04-20 22:44:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ds_question_option")
public class QuestionOption implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * ID主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 关联的题目ID
     */     
    @TableField("question_id")      
    private Long questionId; 
      
    /**
     * 选项代码(A/B/C/D/E...)
     */     
    @TableField("option_code")      
    private String optionCode; 
      
    /**
     * 选项内容
     */     
    @TableField("content")      
    private String content; 
      
    /**
     * 选项图片URL(可为空)
     */     
    @TableField("content_image")      
    private String contentImage; 
      
    /**
     * 是否正确答案 0-否 1-是
     */     
    @TableField("is_correct")      
    private String isCorrect;
      
    /**
     * 排序权重
     */     
    @TableField("sort_order")      
    private Integer sortOrder; 
      
}
